import React, { FC } from 'react';
import { Spin } from 'antd';

const CustomLoading: FC = () => {
  const demo1 = (
    <div className="next-loading-indicator">
      <div className="load-container load7">
        <div className="loader"></div>
      </div>
    </div>
  );

  return (
    <>
      <Spin spinning indicator={demo1}>
        <div>demo1</div>
      </Spin>
    </>
  );
};

export default CustomLoading;
